// import Mock from 'mockjs';
// import jwt from 'jsonwebtoken';
// let token = "Bearer" + jwt.sign({
//     foo: "bar"
// }, "shhhhhh")
// Mock.mock('/logins', {
//     code: 200,
//     message: "登录成功",
//     token: token
// })
import request from "@/utils/request";
export const login=function(data){
    return request({
        url:"/logins",
        method:'post',
        data,
    })
}